<?php

# addslashes to request data
function secure_input()
{
  foreach($_POST as $key => $val)
  {
    $_POST[$key] = addslashes($_POST[$key]);
  }
  foreach($_GET as $key => $val)
  {
    $_GET[$key] = addslashes($_GET[$key]);
  }  
}



?>